/* SPDX-License-Identifier: GPL-2.0-only */
/*
 */

#ifndef _SOCKET_UDP_H
#define _SOCKET_UDP_H

#include <stdio.h>
#include <stdint.h>

void *udp_open(const char *ip, int port);
void *udp_read(void *object);
void *udp_send(void *object, void *address, const char *buffer, size_t size);
void udp_to_serial_handle(void *net, void *serial, void *handle, void *user_data);

#endif // _SOCKET_UDP_H
